/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package OLD;

import OLD.*;
import com.sun.lwuit.List;
import com.sun.lwuit.events.ActionListener;
import com.sun.lwuit.plaf.Style;

public class ItinWed extends Menu{

        public ItinWed(ActionListener a){

        super("Wednesday","paper.jpg",a);

        //add a list
        String[] items = {"10:00 - Rent a bicycle and take a cycling tour of the Pheonix Park.",
        "14:00 - Visit the Guinness Storehouse.",
        "16:00 - Grab a pint of the black stuff at the Gravity Bar.",
        "18:00 - Get some dinner in O'Neill's Bar, Suffolk Street.",
        "21:00 - Go to one of Dublin's many pubs in Templebar."};

        List todo = new List(items);

        //Style style = todo.getStyle();
        //style.setBgColor(0xaa00ff);
        //style.setFgColor(0xffffff);
        //todo.setStyle(style);
        //todo.setSelectedStyle(style);
        //todo.setIsScrollVisible(true);
        todo.setUIID("£todo");//Name list so it can be found - always place £ before name
        todo.setFocusPainted(false);
        this.addList(todo);
        this.setLayoutType(2);

        //add a button
        addButton("Itinerary","Itinerary","itinerary",color.Black);//to return to main menu


        }

}